import * as actionType from './actionType'

const setSongs = (songs) => {
    return {
        type: actionType.SET_SONGS,
        songs
    }
}

const setSong = (song, index) => {
    return {
        type: actionType.CHANGE_CURRENT_SONG,
        song,
        index
    }
}

export {
    setSongs,
    setSong
}